﻿<%@ Page Title="月报统计" Language="C#" MasterPageFile="~/Master/MasterPage.master"
	AutoEventWireup="True" CodeBehind="Report5.aspx.cs" Inherits="TotalDrugs_Report5" %>

<%@ Register Src="~/Common/AreaControls.ascx" TagName="AreaControl" TagPrefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<div id="tabnav">
		<ul>
			<li class="active"><a href="#">月报5（产品采购汇总）</a></li>
		</ul>
	</div>
	<div id="tabcontent">
		<table class="querylist">
			<tr>
				<td align="right">流水号：
				</td>
				<td align="left">
					<asp:TextBox ID="txtGoodsid" runat="server"></asp:TextBox>
				</td>
				<td align="right">产品注册证名称：
				</td>
				<td align="left">
					<asp:TextBox ID="txtRegName" runat="server"></asp:TextBox>
				</td>
				<td align="right">规格型号：
				</td>
				<td align="left">
					<asp:TextBox ID="txtOutlookc" runat="server"></asp:TextBox>
				</td>
				<td align="right">包装规格：
				</td>
				<td align="left">
					<asp:TextBox ID="txtPackOutlookc" runat="server"></asp:TextBox>
				</td>

				<td rowspan="2">
					<hz:HzButton ID="btnQuery" runat="server" Text="查  询" OnClick="btnQuery_Click" CssClass="btn" />
				</td>

			</tr>
			<tr>
				<td align="right">采购时间：
				</td>
				<td align="left">
					<asp:TextBox ID="txtStratTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM',readOnly:true})"></asp:TextBox>
				</td>
				<td align="right">生产企业：
				</td>
				<td align="left">
					<asp:TextBox ID="txtCompanyName_SC" runat="server"></asp:TextBox>
				</td>
				<td align="right">采购医院：
				</td>
				<td align="left">
					<asp:TextBox ID="txtHospitalName" runat="server"></asp:TextBox>
				</td>
			</tr>
		</table>
	</div>
	<asp:GridView ID="gvwPSLInfo" runat="server" AutoGenerateColumns="False" CssClass="mainlist"
		AllowSorting="True" EmptyDataText="暂无符合条件的数据！">
		<Columns>
			<asp:TemplateField HeaderText="序号">
				<ItemTemplate>
					<%#Container.DataItemIndex + 1 + AspNetPager_CompanyPS.PageSize * (AspNetPager_CompanyPS.CurrentPageIndex - 1)%>
				</ItemTemplate>
				<HeaderStyle Width="30px" />
			</asp:TemplateField>
			<asp:BoundField DataField="GoodsID" HeaderText="流水号" />
			<asp:BoundField DataField="ProductName" HeaderText="目录名称" />
			<asp:BoundField DataField="SortName" HeaderText="类别名称" />
			<asp:TemplateField HeaderText="规格型号">
				<ItemTemplate>
					<asp:Label ID="aa" runat="server" ToolTip='<%# Eval("Outlookc")%>'><%# HZ.Supervise.Web.Function.SubStr(Eval("Outlookc"))%></asp:Label>
				</ItemTemplate>
				<HeaderStyle Width="120px" />
			</asp:TemplateField>
			<asp:TemplateField HeaderText="包装规格">
				<ItemTemplate>
					<asp:Label ID="cc" runat="server" ToolTip='<%# Eval("PackOutlookc")%>'><%# HZ.Supervise.Web.Function.SubStr(Eval("PackOutlookc"))%></asp:Label>
				</ItemTemplate>
				<HeaderStyle Width="120px" />
			</asp:TemplateField>
			<asp:BoundField DataField="Outlookc" HeaderText="规格型号" Visible='false' />
			<asp:BoundField DataField="PackOutlookc" HeaderText="包装规格" Visible='false' />
			<asp:BoundField DataField="PackUnit" HeaderText="包装单位" />
			<asp:BoundField DataField="RegCode" HeaderText="注册证号" />
			<asp:BoundField DataField="RegName" HeaderText="注册证名称" />
			<asp:BoundField DataField="RegDate" HeaderText="注册证有效期" Visible="false" />
			<asp:BoundField DataField="companyName_TB" HeaderText="申报企业"/>
			<asp:BoundField DataField="CompanyName_SC" HeaderText="生产企业" />
			<asp:BoundField DataField="OtherArea" HeaderText="省市区" Visible="false" />
			<asp:BoundField DataField="OtherPrice" HeaderText="价格" Visible="false" />
			<asp:BoundField DataField="OtherTime" HeaderText="时间" Visible="false" />
			<asp:BoundField DataField="HospitalName" HeaderText="采购医疗机构" />
			<asp:BoundField DataField="Price" HeaderText="采购价" />
			<asp:BoundField DataField="PurchaseCount" HeaderText="采购数量" />
			<asp:BoundField DataField="PurchaseAmount" HeaderText="采购金额" />
			<asp:BoundField DataField="JQPrice" HeaderText="截止上月末加权平均价" />
		</Columns>
	</asp:GridView>
	<div class="page">
		<span style="width: 30%; float: left; text-align: left">
			<hz:HzButton ID="btnExcel1" runat="server" CssClass="btn" Text="导出数据" OnClick="btnExcel_Click" />
		</span><span style="width: 70%; text-align: right; float: right">
			<webdiyer:AspNetPager ID="AspNetPager_CompanyPS" runat="server" AlwaysShow="true"
				OnPageChanged="AspNetPager_CompanyPS_PageChanged">
			</webdiyer:AspNetPager>
		</span>
	</div>
	<br />
	<div class="listip">
		<ul>
			<li>说明:<asp:Label ID="lblMemo" runat="server"></asp:Label>
			</li>
		</ul>
	</div>
</asp:Content>
